package com.fuluwa.infra.web;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.fuluwa.interfaces.security.web.UserController;


public abstract class AbstractDomainController {

	protected final static Logger logger = LoggerFactory.getLogger(UserController.class);

	protected Result getSuccessResult(Object extend) {
		Result successResult = Result.getSuccessResult();
		successResult.setExtend(extend);
		return successResult;
	}

	protected Result getSuccessResult() {
		return Result.getSuccessResult();
	}

	protected Result getFailResult(String failMsg) {
		return Result.getFailResult(failMsg);
	}

}
